<div class="nav">
    <a href="{:U('index')}">品牌列表</a>
    <a class="sel">修改品牌</a>
</div>
<div class="add">
    <form method="post" action="" >
        <table class="table_add">
            <tr>
                <td width="100px">品牌名称</td>
                <td><input class="input1" type="text" name="brand_name" id="brand_name" value="{$model.brand_name}" style="width:140px" /> </td>
            </tr>
            <tr>
                <td width="100px">品牌英文名</td>
                <td><input class="input1" type="text" name="brand_name_en" id="brand_name_en" value="{$model.brand_name_en}" style="width:140px" /> </td>
            </tr>
            <tr>
                <td width="100px">品牌LOGO</td>
                <td>
                <include file="Public/uploadfile" filetype="image" id="logo"  value="{$model.logo}" editvalue="{:getEditFiles($model['logo'])}" width="100" path="brand" limit="1" thumbw="" thumbh="" msg=""/>
 </td>
            </tr>
            <tr>
                <td width="100px">顺序编号</td>
                <td><input class="input1" type="text" name="order_id" id="order_id" value="{$model.order_id}" style="width:60px" /> <span class="msg">*</span></td>
            </tr>
            <tr>
                <td width="100px">是否启用</td>
                <td><select name="is_enable" id="is_enable" class="sel1">
                        <option value="1">启用</option>
                        <option value="0">不启用</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="100px">是否推荐</td>
                <td><select name="is_tuijian" id="is_tuijian" class="sel1">
                        <option value="0">否</option>
                        <option value="1">是</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" class="btn1" value="提 交" /> &nbsp; <input class="btn3"  type="button" onclick="window.history.back()" value="返 回" /></td>
            </tr>
        </table>
        <input type="hidden" name="brand_id" id="brand_id" value="{$model.brand_id}" />
        <script type="text/javascript">
            $("#is_enable").val('{$model.is_enable}');
            $("#is_tuijian").val('{$model.is_tuijian}');
        </script> 
    </form>
</div>
